Delay2 function. The Delay2 function is similar to the Delay function. In fact in many situations both of them can be used. The difference between the two is related to the interpretations of the parameter values. The Delay2 function allows you to have two linear delay effects. “No delay” corresponds to a linear function with 1 as slope, and 0 as intercept. In each simulation run one of these delay models is selected, depending on the input value to the edge and a critical value stored in the “a” parameter.